<%@ page contentType="text/html; charset=UTF-8" %>
<%@ taglib prefix="s" uri="/struts-tags" %>
<html>
<head>
    <title>Example index</title>
</head>

<body>
<h3>Example Index</h3>
<ul>
    <li><a href="<s:url action="helloworld"/>">hello world</a></li>
    <li><a href="<s:url action="exampleAnnotated"/>">annotated hello world</a></li>
    <li><a href="<s:url action="exampleAnnotated!directToMethod"/>">Call a method on an action</a></li>
    <li>
       <form action="<s:url action="exampleForm"/>">
          <input name="name" type="text"/> Type a name. <input type="submit" value="send"/>
       </form>
    </li>
</ul>

</body>
</html>
